module.exports = (sequelize, Sequelize) => {
  return sequelize.define('resources', {
    id: {
      type: Sequelize.INTEGER,
      primaryKey: true
    },
    name: {
      type: Sequelize.STRING
    },
    url: {
      type: Sequelize.STRING
    },
    requestMethod: {
      type: Sequelize.STRING
    },
    parentId: {
      type: Sequelize.INTEGER
    }
    // isAnonymous: {
    //   type: Sequelize.INTEGER
    // }
  })
}
